package com.google.code.guava.reflect.predicate;

import com.google.common.base.Predicate;

class ClassQualifiersPredicate extends QualifiersPredicate<Class<?>>{

    static Predicate<Class<?>> newClassQualifiersPredicate(
        final Qualifier[] knownQualifiers,
        final QualifierEvalutionStrategy strategy){
        return new ClassQualifiersPredicate(knownQualifiers, strategy);
    }

    private ClassQualifiersPredicate(final Qualifier[] qualifiers,
        final QualifierEvalutionStrategy strategy){
        super(strategy, qualifiers, QualifiedType.ClassType);
    }

    @Override
    protected int getModifierMask(final Class<?> object){
        return object.getModifiers();
    }

}
